home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Reference & Presen…rary 6 (Reseller Edition)
/
Apple Ref. & Pres. Lib.v6.0.toast
/
pc
/
3-Presentations
/
Apple Demos
/
Training
/
Macintosh Graphics Primer
/
Macintosh Graphics Primer
/
card_41156.txt
< prev
next >
Wrap
Text File
|
1990-12-05
|
5KB
|
241 lines
-- card: 41156 from stack: in
-- bmap block id: 0
-- flags: 0000
-- background id: 2792
-- name: tc&g 1
----- HyperTalk script -----
on closecard
global maploc, cardloc
put word 1 of the short name of this card into maploc
put word 2 of the short name of this card into cardloc
end closecard
-- part 20 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=458 top=317 right=342 bottom=485
-- title width / last selected line: 0
-- icon id / first selected line: 18612 / 18612
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: next
----- HyperTalk script -----
on mouseUp
visual dissolve
go next
end mouseUp
-- part 22 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=484 top=317 right=342 bottom=512
-- title width / last selected line: 0
-- icon id / first selected line: 18613 / 18613
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: return
----- HyperTalk script -----
on mouseUp
pop card into lastPush
if the short name of this stack is not in lastPush then
visual dissolve
go card "Map"
else
visual dissolve
go lastPush
end if
end mouseUp
-- part 23 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=428 top=317 right=342 bottom=456
-- title width / last selected line: 0
-- icon id / first selected line: 18611 / 18611
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: prev
----- HyperTalk script -----
on mouseUp
visual effect scroll right
go prev
end mouseUp
-- part 24 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=128 top=125 right=141 bottom=278
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: New Button
----- HyperTalk script -----
on mouseUp
visual dissolve
go card "tc&g 1a"
end mouseUp
-- part 25 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=128 top=140 right=157 bottom=355
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: New Button
----- HyperTalk script -----
on mouseUp
visual dissolve
go card "tc&g 1b"
end mouseUp
-- part 26 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=128 top=156 right=174 bottom=279
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: New Button
----- HyperTalk script -----
on mouseUp
visual dissolve
go card "tc&g 3"
end mouseUp
-- part 29 (button)
-- low flags: 00
-- high flags: 0002
-- rect: left=392 top=320 right=338 bottom=426
-- title width / last selected line: 0
-- icon id / first selected line: 1500 / 1500
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Start-Up
----- HyperTalk script -----
on mouseDown
global NAV_PATH, SYS_PATH, GTRACKINGDISABLED
put (item 1 of the mouseLoc) - (item 1 of the Loc of me) into whereInBtn
-- simulate hiliting of two small buttons
repeat until the mouse is up
---find out WHERE on the icon you clicked
put (item 1 of the mouseLoc) - (item 1 of the Loc of me) into whereInBtn
if the mouseLoc is within the rect of the target then
if whereInBtn < 0 then
set icon of me to 1501
else
set icon of me to 1502
end if
else -- outside of the button, reset default icon
set icon of me to 1500
end if
end repeat
set icon of me to 1500
if the mouseloc is not within the rect of me then exit mouseDown
if whereInBtn < 0 then
--- the click was on the left so go to send feedback if it exists
if (GTRACKINGDISABLED = empty) or (GTRACKINGDISABLED = true) then
answer "“CD Preferences” has not been installed." with "OK"
exit mouseDown
end if
--
if (GTRACKINGDISABLED = "Disabled") then
answer "The feedback mechanism has been disabled." with "OK"
exit mouseDown
end if
--
push card
put SYS_PATH & "CD Preferences" into feedPath
set cursor to watch
visual effect dissolve fast
go stack feedPath
else if whereInBtn > 0 then
-- if the click was on the right then go back to navigation stack
visual effect iris close to black
visual effect iris open
if NAV_PATH = empty then put "cd welcome of stack" && "the “Navigation Stack”" into NAV_PATH
-- make a prompt for "where is" if the global is empty
go NAV_PATH
end if
end mouseDown
on mouseUp
-- kill any mouseups
end mouseUp
-- part contents for background part 9
----- text -----
Macintosh Graphics Primer
-- part contents for background part 11
----- text -----
f&b1
-- part contents for background part 4
----- text -----
True Color and Grayscales
-- part contents for background part 13
----- text -----
Introduction
-- part contents for background part 5
----- text -----
This section contains information on:
• What are True Colors*
• How Many True Colors are There*
• 256-Level Grayscales*
-- part contents for background part 14
----- text -----
Compatibility: f&b 3
Performance: f&b 4
Graphics: f&b 5
Hardware: f&b 6
Networking: f&b 14